package com.ruoyi.lendmoney.feign;

import com.ruoyi.lendmoney.domain.Agreement;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("ruoyi-agreement")
public interface AgreementFeign {
    @RequestMapping("agreement/getAgreementCode")
    public Agreement getAgreementCode(@RequestParam("code") String code);


}
